import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set from '@dfeidao/atom-web/local/set';

export default async function a017(fd: IFeidaoAiBrowserComponent, e: { address: string; latitude: string; longitude: string }) {
	// todo
	console.log(e.address + '--' + e.latitude + '--' + e.longitude);
	// e.latitude
	const address = fd.data.node.querySelector<HTMLInputElement>('[data-id="adrs"]');
	address.innerHTML = e.address;
	set(fd, 'address', e.address);
	const n = fd.data.node.querySelector('[data-id="addres"]');
	n.setAttribute('class', 'display-n');

}
